<?php

require_once dirname(__FILE__) . '/config.php';
require_once 'SessionDelegate.php';
require_once MOBILEPROXY_JSPHON_DIR . '/Jsphon.php';

$session =& SessionDelegate::getInstance();
if ($response_headers = $session->get('response_headers')) {
    $array = array('headers' => $response_headers);
    header('Content-Type: text/javascript;charset=UTF-8');
    echo Jsphon::encode($array);
}
exit;
